/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.business.dao.shop;

import com.shop.cereshop.business.page.shop.ShopComment;
import com.shop.cereshop.business.param.shop.CommentParam;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.shop.CereShopComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereShopCommentDAO extends BaseMapper<CereShopComment> {

    int insertSelective(ShopComment record);

    ShopComment selectByPrimaryKey(Long commentId);



    int updateByPrimaryKeySelective(ShopComment record);



    List<ShopComment> getAll(@Param("param") CommentParam param);
}
